<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>mod_rewrite_content</title>
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="pragma" content="no-cache" />
    <script type="text/javascript" src="scripts/jquery/jquery.js"></script>
    <script type="text/javascript" src="plugins/mod_rewrite/external/aToolTip/js/atooltip.jquery.js"></script>
    <script type="text/javascript" src="plugins/mod_rewrite/scripts/mod_rewrite.js"></script>
    <link rel="stylesheet" type="text/css" href="styles/drugcms.css" />
    <link rel="stylesheet" type="text/css" href="plugins/mod_rewrite/external/aToolTip/css/atooltip.css" />
    <link rel="stylesheet" type="text/css" href="plugins/mod_rewrite/styles/styles.css" />
    <script type="text/javascript"><!--
    // session-id
    var sid = "{SESSID}";

    // setup translation
    mrPlugin.lng.more_informations = "{LNG_MORE_INFORMATIONS}";

    // initialize page
    mrPlugin.initializeSettingsPage();
    // --></script>
</head>

<body class="mrPlugin">

<div class="headerBox">
    <div class="pluginInfo">
        <div>{LNG_PLUGIN_SETTINGS}</div>
    </div>
</div>

{CONTENT_BEFORE}

<form name="mr_configuration" id="mr_configuration" method="post" action="main.php">

    <input type="hidden" name="contenido" value="{SESSID}" />
    <input type="hidden" name="area" value="{AREA}" />
    <input type="hidden" name="mr_action" value="save" />
    <input type="hidden" name="frame" value="4" />
    <input type="hidden" name="idclient" value="{IDCLIENT}" />

<table id="contenttable" cellspacing="0" cellpadding="3" border="0">
<colgroup>
    <col width="30%" />
    <col width="70%" />
</colgroup>

<!-- htaccess info -->
<tr style="{HTACCESS_INFO_CSS}" class="marked">
    <td colspan="2" class="text_medium col-I">
            <br />
            <strong>{LNG_NOTE}</strong><br />
            {LNG_MSG_NO_HTACCESS_FOUND}<br />
            <br />
    </td>
</tr>

<!-- enable/disable mod rewrite -->
<tr>
    <td class="text_medium col-I"><label for="mr_use">{LNG_ENABLE_AMR}</label></td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_use" name="use" value="1"{USE_CHK} />
        </div>
        <a href="#" id="enableInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="enableInfo1" style="display:none">
            <strong>{LNG_NOTE}</strong><br />
            {LNG_MSG_ENABLE_AMR_INFO}<br />
            <br />
            <strong>{LNG_EXAMPLE}:</strong>
            <pre class="example">{LNG_MSG_ENABLE_AMR_INFO_EXAMPLE}</pre>
    </td>
</tr>

<!-- root dir -->
<tr>
    <td class="text_medium col-I">{LNG_ROOTDIR}</td>
    <td class="text_medium col-II" align="left">
        {ROOTDIR_ERROR}
        <input class="text_medium blockLeft" type="text" name="rootdir" size="50" maxlength="64" value="{ROOTDIR}" />
        <a href="#" id="rootdirInfo1-link" title="" class="main i-link infoButton"></a><div class="clear"></div>
        <div id="rootdirInfo1" style="display:none">{LNG_ROOTDIR_INFO}</div>
        <br />
        <div class="blockLeft">
            <input type="checkbox" id="mr_checkrootdir" name="checkrootdir" value="1"{CHECKROOTDIR_CHK} />
            <label for="mr_checkrootdir">{LNG_CHECKROOTDIR}</label>
        </div>
        <a href="#" id="rootdirInfo2-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="rootdirInfo2" style="display:none">{LNG_CHECKROOTDIR_INFO}</div>
    </td>
</tr>

<!-- start from root -->
<tr>
    <td class="text_medium col-I">{LNG_STARTFROMROOT}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_startfromroot" name="startfromroot" value="1"{STARTFROMROOT_CHK} />
            <label for="mr_startfromroot">{LNG_STARTFROMROOT_LBL}</label>
        </div>
        <a href="#" id="startFromRootInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="startFromRootInfo1" style="display:none">{LNG_STARTFROMROOT_INFO}</div>
    </td>
</tr>

<!-- use client/use client name -->
<tr>
    <td class="text_medium col-I">{LNG_USE_CLIENT}</td>
    <td class="text_medium col-II" align="left">
        <input type="checkbox" id="mr_use_client" name="use_client" value="1"{USE_CLIENT_CHK} />
        <label for="mr_use_client">{LNG_USE_CLIENT_LBL}</label><br />
        <input type="checkbox" id="mr_use_client_name" name="use_client_name" value="1"{USE_CLIENT_NAME_CHK}{USE_CLIENT_NAME_DISABLED} />
        <label for="mr_use_client_name">{LNG_USE_CLIENT_NAME_LBL}</label><br />
    </td>
</tr>

<!-- use language/use language name -->
<tr>
    <td class="text_medium col-I">{LNG_USE_LANGUAGE}</td>
    <td class="text_medium col-II" align="left">
        <input type="checkbox" id="mr_use_language" name="use_language" value="1"{USE_LANGUAGE_CHK} />
        <label for="mr_use_language">{LNG_USE_LANGUAGE_LBL}</label><br />
        <input type="radio" id="mr_use_language_id" name="use_language_name" value="0"{USE_LANGUAGE_ID_CHK}{USE_LANGUAGE_NAME_DISABLED} />
        <label for="mr_use_language_id">{LNG_USE_LANGUAGE_ID_LBL}</label><br />
        <input type="radio" id="mr_use_language_name" name="use_language_name" value="1"{USE_LANGUAGE_NAME_CHK}{USE_LANGUAGE_NAME_DISABLED} />
        <label for="mr_use_language_name">{LNG_USE_LANGUAGE_NAME_LBL}</label><br />
        <input type="radio" id="mr_use_language_code" name="use_language_name" value="2"{USE_LANGUAGE_CODE_CHK}{USE_LANGUAGE_NAME_DISABLED} />
        <label for="mr_use_language_code">{LNG_USE_LANGUAGE_CODE_LBL}</label><br />
    </td>
</tr>

<!-- activate userdefined separator settings -->
<tr>
    <td colspan="2" class="text_medium col-I altBg">
        <strong class="blockLeft">{LNG_USERDEFINED_SEPARATORS_HEADER}</strong>
        <a href="#" id="userdefSeparatorInfo1-link2" title="" class="main i-link infoButton"></a><div class="clear"></div>
        <div id="userdefSeparatorInfo1" style="display:none">
            <strong>{LNG_EXAMPLE}:</strong>
            <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE}</pre>

            <strong>{LNG_NOTE}:</strong>
            <ul>
                <li>{LNG_USERDEFINED_SEPARATORS_EXAMPLE_A}
                    <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE_A_EXAMPLE}</pre>
                </li>
                <li>{LNG_USERDEFINED_SEPARATORS_EXAMPLE_B}
                    <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE_B_EXAMPLE}</pre>
                </li>
                <li>{LNG_USERDEFINED_SEPARATORS_EXAMPLE_C}
                    <pre class="example">{LNG_USERDEFINED_SEPARATORS_EXAMPLE_C_EXAMPLE}</pre>
                </li>
            </ul>
        </div>
    </td>
</tr>

<tr>
    <td class="text_medium col-I altBg">{LNG_CATEGORY_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {CATEGORY_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_category_seperator" name="category_seperator" size="5" maxlength="1" value="{CATEGORY_SEPARATOR}"{CATEGORY_SEPARATOR_ATTRIB} />
        <small>{LNG_CATART_SEPARATOR_INFO}</small>
    </td>
</tr>

<tr>
    <td class="text_medium col-I altBg">{LNG_CATEGORY_WORD_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {CATEGORY_WORD_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_category_word_seperator" name="category_word_seperator" size="5" maxlength="1" value="{CATEGORY_WORD_SEPARATOR}"{CATEGORY_WORD_SEPARATOR_ATTRIB} />
        <small>{LNG_WORD_SEPARATOR_INFO}</small>
    </td>
</tr>

<tr>
    <td class="text_medium col-I altBg">{LNG_ARTICLE_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {ARTICLE_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_article_seperator" name="article_seperator" size="5" maxlength="1" value="{ARTICLE_SEPARATOR}"{ARTICLE_SEPARATOR_ATTRIB} />
        <small>{LNG_CATART_SEPARATOR_INFO}</small>
    </td>
</tr>
<tr>
    <td class="text_medium col-I altBg">{LNG_ARTICLE_WORD_SEPARATOR}</td>
    <td class="text_medium col-II" align="left">
        {ARTICLE_WORD_SEPARATOR_ERROR}
        <input class="text_medium" type="text" id="mr_article_word_seperator" name="article_word_seperator" size="5" maxlength="1" value="{ARTICLE_WORD_SEPARATOR}"{ARTICLE_WORD_SEPARATOR_ATTRIB} />
        <small>{LNG_WORD_SEPARATOR_INFO}</small>
    </td>
</tr>

<!-- add start article name to url -->
<tr>
    <td class="text_medium col-I">{LNG_ADD_STARTART_NAME_TO_URL}</td>
    <td class="text_medium col-II" align="left">
        {ADD_STARTART_NAME_TO_URL_ERROR}
        <input type="checkbox" id="mr_add_startart_name_to_url" name="add_startart_name_to_url" value="1"{ADD_STARTART_NAME_TO_URL_CHK} />
        <label for="mr_add_startart_name_to_url">{LNG_ADD_STARTART_NAME_TO_URL_LBL}</label><br />
        <br />
        <div class="blockLeft">
            <label for="mr_default_startart_name">{LNG_DEFAULT_STARTART_NAME}</label><br />
            <input class="text_medium" type="text" id="mr_default_startart_name" name="default_startart_name" size="50" maxlength="64" value="{DEFAULT_STARTART_NAME}" />
        </div>
        <a href="#" id="defaultStartArtNameInfo1-link" title="" class="main i-link infoButton v2" style="margin-top:1.2em;"></a><div class="clear"></div>
        <div id="defaultStartArtNameInfo1" style="display:none">{LNG_DEFAULT_STARTART_NAME_INFO}</div>
    </td>
</tr>

<!-- file extension -->
<tr>
    <td class="text_medium col-I">{LNG_FILE_EXTENSION}</td>
    <td class="text_medium col-II" align="left">
        {FILE_EXTENSION_ERROR}
        <div class="blockLeft">
            <input class="text_medium" type="text" name="file_extension" size="10" maxlength="10" value="{FILE_EXTENSION}" /><br />
        </div>
        <a href="#" id="fileExtensionInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="fileExtensionInfo1" style="display:none">
            {LNG_FILE_EXTENSION_INFO}<br /><br />
            <strong>{LNG_NOTE}:</strong><br />
            {LNG_FILE_EXTENSION_INFO2}
        </div>
        <!--<p style="color:red">{LNG_FILE_EXTENSION_INFO3}</p>-->
    </td>
</tr>

<!-- use lowercase url -->
<tr>
    <td class="text_medium col-I">{LNG_USE_LOWERCASE_URI}</td>
    <td class="text_medium col-II" align="left">
        <input type="checkbox" id="mr_use_lowercase_uri" name="use_lowercase_uri" value="1"{USE_LOWERCASE_URI_CHK} />
        <label for="mr_use_lowercase_uri">{LNG_USE_LOWERCASE_URI_LBL}</label>
    </td>
</tr>

<!-- prevent duplicated content -->
<tr>
    <td class="text_medium col-I">{LNG_PREVENT_DUPLICATED_CONTENT}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_prevent_duplicated_content" name="prevent_duplicated_content" value="1"{PREVENT_DUPLICATED_CONTENT_CHK} /> <label for="mr_prevent_duplicated_content">{LNG_PREVENT_DUPLICATED_CONTENT_LBL}</label><br />
        </div>
        <a href="#" id="preventDuplicatedContentInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="preventDuplicatedContentInfo1" style="display:none">
            {LNG_PREVENT_DUPLICATED_CONTENT_INFO}:<br />
            <ul>
            {LNG_PREVENT_DUPLICATED_CONTENT_INFO2}
            </ul>
        </div>
    </td>
</tr>

<!-- category resolve min percentage -->
<tr>
    <td class="text_medium col-I">{LNG_CATEGORY_RESOLVE_MIN_PERCENTAGE}</td>
    <td class="text_medium col-II" align="left">
        {CATEGORY_RESOLVE_MIN_PERCENTAGE_ERROR}
        <div class="blockLeft">
            <input class="text_medium" type="text" name="category_resolve_min_percentage" size="5" maxlength="3" value="{CATEGORY_RESOLVE_MIN_PERCENTAGE}" /> (0 - 100)
        </div>
        <a href="#" id="categoryResolveMinPercentageInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="categoryResolveMinPercentageInfo1" style="display:none">
            <p>{LNG_CATEGORY_RESOLVE_MIN_PERCENTAGE_INFO}</p>
            <strong>{LNG_EXAMPLE}:</strong>
            <pre class="example">{LNG_CATEGORY_RESOLVE_MIN_PERCENTAGE_EXAMPLE}</pre>
      </div>
    </td>
</tr>

<!-- redirect invalid article to errorsite -->
<tr>
    <td class="text_medium col-I">{LNG_REDIRECT_INVALID_ARTICLE_TO_ERRORSITE}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="checkbox" id="mr_redirect_invalid_article_to_errorsite" name="redirect_invalid_article_to_errorsite" value="1"{REDIRECT_INVALID_ARTICLE_TO_ERRORSITE_CHK} />
            <label for="mr_redirect_invalid_article_to_errorsite">{LNG_REDIRECT_INVALID_ARTICLE_TO_ERRORSITE_LBL}</label><br />
        </div>
        <a href="#" id="redirectInvalidArticleToErrorsiteInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="redirectInvalidArticleToErrorsiteInfo1" style="display:none">
            {LNG_REDIRECT_INVALID_ARTICLE_TO_ERRORSITE_INFO}
        </div>
    </td>
</tr>

<!-- rewrite urls at -->
<tr>
    <td class="text_medium col-I">{LNG_REWRITE_URLS_AT}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">
            <input type="radio" id="rewrite_urls_at_front_content_output" name="rewrite_urls_at" value="front_content_output"{REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_CHK} />
            <label for="rewrite_urls_at_front_content_output">{LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_LBL}</label>
        </div>
        <a href="#" id="rewriteUrlsAtInfo1-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="rewriteUrlsAtInfo1" style="display:none;">
            {LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_INFO}<br />
            <br />
            <strong>{LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_INFO2}:</strong>
            <ul>
            {LNG_REWRITE_URLS_AT_FRONT_CONTENT_OUTPUT_INFO3}
            </ul>
        </div>
        <br />

        <div class="blockLeft">
            <input type="radio" id="rewrite_urls_at_congeneratecode" name="rewrite_urls_at" value="congeneratecode"{REWRITE_URLS_AT_CONGENERATECODE_CHK} />
            <label for="rewrite_urls_at_congeneratecode">{LNG_REWRITE_URLS_AT_CONGENERATECODE_LBL}</label><br />
        </div>
        <a href="#" id="rewriteUrlsAtInfo2-link" title="" class="main i-link infoButton v2"></a><div class="clear"></div>
        <div id="rewriteUrlsAtInfo2" style="display:none;">
        {LNG_REWRITE_URLS_AT_CONGENERATECODE_INFO}<br />
<pre class="example">{LNG_REWRITE_URLS_AT_CONGENERATECODE_EXAMPLE}</pre>

            <strong>{LNG_REWRITE_URLS_AT_CONGENERATECODE_INFO2}:</strong>
            <ul>
            {LNG_REWRITE_URLS_AT_CONGENERATECODE_INFO3}
            </ul>
        </div>
    </td>
</tr>

<!-- routing -->
<tr>
    <td class="text_medium col-I">{LNG_REWRITE_ROUTING}</td>
    <td class="text_medium col-II" align="left">
        <div class="blockLeft">{LNG_REWRITE_ROUTING_INFO}</div>
        <a href="#" id="routingInfo1-link" title="" class="main i-link infoButton"></a><div class="clear"></div>
        <div id="routingInfo1" style="display:none">
{LNG_REWRITE_ROUTING_INFO2}
<pre class="example">{LNG_REWRITE_ROUTING_EXAMPLE}</pre>
<br />
            <ul>
            {LNG_REWRITE_ROUTING_INFO3}
            </ul>
        </div>
        <textarea class="txt" id="rewrite_routing" name="rewrite_routing" rows="5" cols="80" style="width:100%;height:100px;">{REWRITE_ROUTING}</textarea>
    </td>
</tr>

<tr>
    <td colspan="2" class="text_medium col-I" style="text-align:right">
        <a accesskey="c" href="main.php?area={AREA}&amp;frame=4&amp;idclient={IDCLIENT}&amp;contenido={SESSID}">
            <img src="images/but_cancel.gif" alt="" title="{LNG_DISCARD_CHANGES}" /></a>
        <input style="margin-left:20px;" accesskey="s" type="image" src="images/but_ok.gif" alt="" title="{LNG_SAVE_CHANGES}" />
    </td>
</tr>
</table>

</form>

{CONTENT_AFTER}

</body>
</html>